#ifndef __IMA_CONSTANTS_H__
#define __IMA_CONSTANTS_H__

/******************************************************************************
 * 
******************************************************************************/
#define IMA_CONF_FILE				"ima_notifier_conf.json"
#define IMA_NUM_DB_CONN_RETRIES	5
#define IMA_DB_CONN_TIMEOUT		10	//in seconds
#define IMA_POLLING_INTERVAL		5	//i.e. 5 minutes

/******************************************************************************
 * JSON #defines
******************************************************************************/
#define IMA_JSON_INDENT_SIZE						2

#define IMA_JSON_KEY_POLLING_INTERVAL			"polling-interval"
#define IMA_JSON_KEY_HOSTNAME						"hostname"
#define IMA_JSON_KEY_PORT							"port"
#define IMA_JSON_KEY_NAME 							"name"
#define IMA_JSON_KEY_USERNAME 					"username"
#define IMA_JSON_KEY_PASSWORD						"password"
#define IMA_JSON_KEY_DB								"db"
#define IMA_JSON_KEY_SMTPSERVER					"smtpserver"
#define IMA_JSON_KEY_MESSAGE_QUEUE					"mq"
#define IMA_JSON_KEY_REGCONFCODEQKEY			"confcode"
#define IMA_JSON_KEY_NEWPASSWORDQKEY			"newpassword"
#define IMA_JSON_KEY_USERFEEDBACKQKEY			"userfeedback"

#define MSG_SUB_NEW_PASSWORD					"Your new password for IamAliv"
#define MSG_BODY_NEW_PASSWORD					"Your new password is:"
#define MSG_SUB_REG_CONF_CODE					"Your IamAliv registration activation Code"
//#define MSG_BODY_REG_CONF_CODE				"Just to confirm that you are the actual owner of your email-id and your GTalk-ID please do the following:\n1.) Add iamaliv@iamaliv.com to your GTalk friend list.\n2.) Send the following activation code to iamaliv@iamaliv.com via chat:"
#define MSG_BODY_REG_CONF_CODE				"Please accept our friend request on GTalk when we send the request to you.\nYour IamAliv activation code:"
#define MSG_BODY_REG_CONF_CODE_ALT            "Since your email-id and GTalk-id are different and we have no way to make sure that you are the owner of the GTalk-id provided by you, please add \"iamaliv@iamaliv.com\" in your GTalk friend list so that we can keep track of you.\nYour IamAliv activation code:"


enum IMA_INFO_MEDIA_TYPE {
	IMA_INFO_MEDIA_TEXT	= 0,
	IMA_INFO_MEDIA_TEXT_FILE = 1,
	IMA_INFO_MEDIA_PIC_FILE = 2,
	IMA_INFO_MEDIA_AUDIO_FILE = 3,
	IMA_INFO_MEDIA_VIDEO_FILE = 4
};

#endif	//__IMA_CONSTANTS_H__
